﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Tree.Lifecycle
{
    /// <summary>
    /// Gives the Start/Stop lifecycle to an object.
    /// </summary>
    public interface IStartable
    {
        /// <summary>
        /// Method to be called in the object's start phase (2).
        /// </summary>
        void Start();

        /// <summary>
        /// Method to be called in the object's end phase (3).
        /// </summary>
        void Stop();
    }
}
